package com.neu.his.commonutils.exceptionhandler;

public class HisException extends RuntimeException{
		/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
		private Integer code; //状态码
	    private String msg;  //异常信息
		public HisException() {
			super();
		}
		public HisException(Integer code, String msg) {
			super();
			this.code = code;
			this.msg = msg;
		}
		public Integer getCode() {
			return code;
		}
		public void setCode(Integer code) {
			this.code = code;
		}
		public String getMsg() {
			return msg;
		}
		public void setMsg(String msg) {
			this.msg = msg;
		}
		@Override
		public String toString() {
			return "HisException [code=" + code + ", msg=" + msg + "]";
		}
}
